package com.kefu.call.model;

import java.io.Serializable;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName(value="cdr_callhistory")
@ApiModel(description = "计费_话费扣除历史")
public class CdrCallhistory implements Serializable{

	@TableId(value="Oid",type=IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String oid;
    
    @TableField(value="LineNumber")
    @ApiModelProperty(value = "线路号")
    private String linenumber;
    
    @TableField(value="CalledNumber")
    @ApiModelProperty(value = "被叫号码")
    private String callednumber;
    
    @TableField(value="CreateTime")
    @ApiModelProperty(value = "创建时间")
    private Date createtime;
    
    @TableField(value="CallCost")
    @ApiModelProperty(value = "产生的费用")
    private String callcost;
    
    @TableField(value="CallTime")
    @ApiModelProperty(value = "呼叫分钟")
    private String calltime;
    
    @TableField(value="IsSetMeal")
    @ApiModelProperty(value = "是否在套餐内")
    private Boolean issetmeal;
    
    @TableField(value="CallId")
    @ApiModelProperty(value = "呼叫id")
    private String callid;
    
    @TableField(value="company")
    @ApiModelProperty(value = "公司id")
    private String company;
    
    @TableField(value="beforeMoney")
    @ApiModelProperty(value = "之前的金额")
    private String beforemoney;
    
    @TableField(value="deductMoney")
    @ApiModelProperty(value = "扣除后余额")
    private String deductmoney;
    
    @TableField(value="beforeTime")
    @ApiModelProperty(value = "扣除钱免费通话时间")
    private String beforetime;
    
    @TableField(value="deductTime")
    @ApiModelProperty(value = "扣除后免费通话时间")
    private String deducttime;

    @TableField(exist = false)
    @ApiModelProperty(value = "通话录音")
    private String recordUrl;
    private static final long serialVersionUID = 1L;
}